﻿<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
	<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath }/app/style/css/index.css" />
	<script type="text/javascript">
		// 通知服务员结账
		function callPay() {
			 
			window.location.href = "${pageContext.request.contextPath }/app/jiezhang.jsp";
		}
	</script>
</head>

<body style="text-align: center">
	<div id="all">
		<div id="menu">
			<!-- 餐车div -->
			<div id="count">
				<table align="center" width="100%">
					<tr height="40">
				 		<td align="center" width="20%">菜名</td>
				 		<td align="center" width="20%">单价</td>
				 		<td align="center" width="20%">数量</td>
				 		<td align="center" width="20%">小计</td>
				 	</tr>
					

					<tr height="60">
					 		<td align="center" width="20%">${food.foodName}</td>
					 		<td align="center" width="20%">${food.price}</td>
					 		<td align="center" width="20%">1</td>
					 		<td align="center" width="20%">${food.price}</td>
				 		</tr>
				 	

					<tr>
						<td colspan="6" align="right">总计:
							<span style="font-size:36px;">&yen;</span>
							<label
								id="counter" style="font-size:36px">${food.price}</label>
						</td>
					</tr>
					<tr>
						<td colspan="6" style="margin-left: 100px; text-align: center;"align="right">
							<input type="hidden" name="bId" value="">
							<input type="button" value="结账" class="btn_next" lang="" onclick="callPay()" />
						</td>
					</tr>
				</table>
			</div>
		</div>

		<!-- 右边列表，  -->
		<div id="dish_class"
			style="padding-top: 50px; width: 100px; padding-right: 50px;">
			<center>
				<h1 style="font-size: 100px;">欢迎光临</h1>
			</center>

		</div>
		
	</div>
</body>
</html>
